package org.example.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;


@Data
public class User implements Serializable {

    @TableId
    private Integer uid;
    private String username;
    private String userPwd;
    private String nickName;

    /**
     * 版本号(用于乐观锁)
     */
    @Version
    private Integer version;

    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}